package edu.spec.student.dao.iface;

import edu.spec.student.model.event.Event;
import edu.spec.basic.model.enumeration.Status;
import org.madgecko.basic.dao.IBaseDao;
import org.madgecko.basic.model.Pager;

import java.util.List;


/**
 * Created by MadFrog on 2017/5/15.
 */
public interface IEventDao extends IBaseDao<Event> {
    Pager<Event> findByCon(Status status, String keyword);
    List<Event> listLatestEvent();
    void safeDelete(Integer id);
}
